<template>
    <div id="vbind">
      <input type="text" v-bind:value="name"/>
      <input type="text" :value="name"/>
      <a v-bind="{href:'http://itcast.cn/index/'+id}">跳转</a>
    </div>
</template>

<script>
    export default {
        name: "vbind",
      data(){
          return{
            name:'黑马程序员',
            id:2
          }
      }
    }
</script>

<style scoped>

</style>
